package com.xiaobai.common;

public enum ResponseCode {

    SUCCESS(0,"SUCCESS"),
    ERROR(1,"ERROR"),
    V2(2,"V2版本错误,错误信息在msg中"),
    ;

    private final int code;
    private final String desc;

    ResponseCode(int code, String desc){
        this.code=code;this.desc=desc;
    }

    public int getCode() {
        return code;
    }

    public String ge身份信息错误tDesc() {
        return desc;
    }

}
